/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package receiptReaderTool;

import java.util.LinkedList;
import javax.swing.ListModel;
import javax.swing.event.ListDataListener;

/**
 *
 * @author Mariusz
 */
public class receiptReaderTool_jListRawStringModel implements ListModel{
    public LinkedList<String> content;

    public receiptReaderTool_jListRawStringModel(LinkedList<String> in) {
        this.content = in;
    }
    
    @Override
    public int getSize() {
        return content.size();
    }

    @Override
    public Object getElementAt(int index) {
        return content.get(index);
    }

    @Override
    public void addListDataListener(ListDataListener l) {
    }

    @Override
    public void removeListDataListener(ListDataListener l) {
    }
}
